
html, body 
  // 默认背景
  background $color-background
  // 默认字体颜色
  color $color-text-1
  // 默认字体大小
  font-size $font-size-normal
  font-family "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif
  // overflow hidden
  margin 0

input, textarea, [contenteditable="true"]
  // 去除输入框内的长按选择
  user-select auto !important

a
  text-decoration none
  background-color transparent
  cursor pointer

p
  word-break break-all
  margin 0

ul
  margin 0
  padding 0
  li
    list-style none

// 去掉滚动条
.no-scrollbar::-webkit-scrollbar
  display none
  height 0
  width 0

// 清除浮动
.clearfix
  &:after
    content ""
    display block
    clear both
.no-wrap
  text-overflow ellipsis
  overflow hidden
  white-space nowrap

// 字体颜色
.color-primary
  color $color-primary !important 
.color-success
  color $color-success !important
.color-warning
  color $color-warning !important
.color-danger
  color $color-danger !important
.color-info
  color $color-info !important

// 背景颜色
.bg-primary
  background-color rgba($color-primary, 0.25) !important
.bg-success
  background-color rgba($color-success, 0.25) !important
.bg-warning
  background-color rgba($color-warning, 0.25) !important
.bg-danger
  background-color rgba($color-danger, 0.25) !important
.bg-info
  background-color rgba($color-info, 0.25) !important

// 各种状态
.disabled
  color $color-info
  cursor not-allowed
.link
  color $color-primary
  cursor pointer

[v-cloak]
  display none

// 底部分页组件
.bottom-pagination
  text-align left
  margin-top 16px

// 搜索栏样式
.query-form
  background #ffffff
  margin-bottom 12px
  padding 12px 16px
  &:after
    content ""
    display block
    clear both
  .input-with-select
    width 260px
    margin-right 16px
    .el-input-group__prepend
      background-color #ffffff
      width 48px
      color $color-primary
      padding 0 16px
    .el-input-group__append
      background-color $color-primary
      color #ffffff
    &.el-input--small .el-input__inner
      line-height: 33px
  >span
    padding 5px 0
    display inline-block
  .left-form
    display flex
    align-items: center
  .right-btns
    float right
  .el-radio-group
    margin 0 20px
    .el-radio
      margin 0
      &+.el-radio
        margin-left 12px
    .el-radio__label
      padding-left 6px
.query-select-list
  margin-top 12px
